package com.huidu.bitrade.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.huidu.bitrade.dto.AcMemberQuery;
import com.huidu.bitrade.entity.ActivityHdzOrderDetail;
import com.huidu.bitrade.mapper.ActivityHdzOrderDetailMapper;
import com.huidu.bitrade.mapper.ActivityHdzOrderMapper;
import com.huidu.bitrade.query.HdzOrderDetailQuery;
import com.huidu.bitrade.service.ActivityHdzOrderDetailService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class ActivityHdzOrderDetailServiceImpl extends ServiceImpl<ActivityHdzOrderDetailMapper, ActivityHdzOrderDetail> implements ActivityHdzOrderDetailService{

    private final ActivityHdzOrderDetailMapper activityHdzOrderDetailMapper;
    @Override
    public IPage<ActivityHdzOrderDetail> pageList(IPage page, HdzOrderDetailQuery detailQuery) {
        return page.setRecords(activityHdzOrderDetailMapper.pageList(page,detailQuery));
    }

}
